import Layout from '@/views/layout/Layout';

const _import = require('@/router/_import_' + process.env.NODE_ENV);

export default [{
  path: '/price',
  component: Layout,
  name: '价格管理',
  icon: 'money',
  authority: 'price',
  children: [{
    path: 'config',
    icon: 'fa-user',
    component: _import('price/config/index'),
    name: '计算配置',
    authority: 'priceConfig'
  }, {
    path: 'calculate',
    icon: 'fa-user',
    component: _import('price/calculate/index'),
    name: '价格计算',
    authority: 'priceCalculate'
  }]
}]

